﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Default.Master" Inherits="System.Web.Mvc.ViewPage<AbstractSaaSTemplate.UI.Web.Models.User.CreateOrEditUserForm>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server"><%: Metadata.RootUserCreateOrEditUserTitle %></asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MetaDescription" runat="server"><%: Metadata.RootUserCreateOrEditUserDescription %></asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MetaKeywords" runat="server"><%: Metadata.RootUserCreateOrEditUserKeywords %></asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="H1Content" runat="server"><%: Metadata.RootUserCreateOrEditUserTitle %></asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="InnerBodyClass" runat="server">root user create-or-edit-user</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="MainContent" runat="server">

	<section class="info">
        <%: "" /*Messages.HelpInfoAboutThisForm*/ %>
    </section>

	<% using (Html.BeginForm()) { %>
    	<%: Html.ValidationSummary(string.Concat(
                Messages.NotPossibleToProceed,
                Messages.PleaseTryAgain)) %>
	    
		<fieldset>
	        <legend><%: "" /*Expressions.TitleForThisForm*/ %></legend>

	        <%: Html.LabelFor(model => model.FirstName) %>
			<%: Html.EditorFor(model => model.FirstName) %>
	        <%: Html.ValidationMessageFor(model => model.FirstName) %>
		
	        <%: Html.LabelFor(model => model.LastName) %>
			<%: Html.EditorFor(model => model.LastName) %>
	        <%: Html.ValidationMessageFor(model => model.LastName) %>
		
	        <%: Html.LabelFor(model => model.IsDisabled) %>
			<%: Html.EditorFor(model => model.IsDisabled) %>
	        <%: Html.ValidationMessageFor(model => model.IsDisabled) %>
		
	        <%: Html.LabelFor(model => model.EmailAddress) %>
			<%: Html.EditorFor(model => model.EmailAddress) %>
	        <%: Html.ValidationMessageFor(model => model.EmailAddress) %>
		
	        <%: Html.LabelFor(model => model.CultureName) %>
			<%: Html.EditorFor(model => model.CultureName) %>
	        <%: Html.ValidationMessageFor(model => model.CultureName) %>
		
	        <%: Html.LabelFor(model => model.Login) %>
			<%: Html.EditorFor(model => model.Login) %>
	        <%: Html.ValidationMessageFor(model => model.Login) %>
		
	        <%: Html.LabelFor(model => model.Password) %>
			<%: Html.EditorFor(model => model.Password) %>
	        <%: Html.ValidationMessageFor(model => model.Password) %>
		
	        <footer>
				<%: Html.AntiForgeryToken() %>
	            <input type="submit" value="<%: Expressions.Confirm %>" />
	        </footer>
	    </fieldset>
	<% } %>

</asp:Content>

<asp:Content ID="Content7" ContentPlaceHolderID="StylesReferences" runat="server">
</asp:Content>

<asp:Content ID="Content8" ContentPlaceHolderID="JavascriptReferences" runat="server">
</asp:Content>

